<template>
  <div>
      <Header></Header>
      <router-view></router-view>
      <Footer v-show='!$route.meta.isHiddlen'></Footer>
  </div>
</template>

<script>
import Header from './components/Header'
import Footer from './components/Footer'
export default {
name:'App',
components:{
    Header,
    Footer,
},
mounted(){
  console.log('挂载成功');
  this.$store.dispatch('home/addcataloglist')
 
}
}
</script>

<style>

</style>